package com.tzpay.tzpay.api;

import com.tzpay.tzpay.bean.UserInfo;
import com.tzpay.tzpay.common.ConstValue;

/**
 * Created by Yax.
 * Date: 16/3/30
 * Time: 下午3:01
 * Description: 交易流水查询
 */
public class TzOrderQuery {
    String shopId = UserInfo.getInstance().getShopId();//商户号
    String deviceId = ConstValue.DEVICE_ID;//设备号
    String funcId;//收款方式
    String txNo;//交易流水号
    String txCode;//交易类型DO,RNC
    String startDate;//开始日期
    String endDate;//结束日期
    String mac;//MD5加密

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getFuncId() {
        return funcId;
    }

    public void setFuncId(String funcId) {
        this.funcId = funcId;
    }

    public String getTxNo() {
        return txNo;
    }

    public void setTxNo(String txNo) {
        this.txNo = txNo;
    }

    public String getTxCode() {
        return txCode;
    }

    public void setTxCode(String txCode) {
        this.txCode = txCode;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    @Override
    public String toString() {
        return "TzOrderQuery{" +
                "shopId='" + shopId + '\'' +
                ", deviceId='" + deviceId + '\'' +
                ", funcId='" + funcId + '\'' +
                ", txNo='" + txNo + '\'' +
                ", txCode='" + txCode + '\'' +
                ", startDate='" + startDate + '\'' +
                ", endDate='" + endDate + '\'' +
                ", mac='" + mac + '\'' +
                '}';
    }
}
